<?php
/*
1. Upload the script to the root of your server.
2. Run it once by calling the url http://yourserver/reset_admin_theme.php
3. Delete the file from the server.

Your admin now should be reset the default WB_Theme.

*/




include ('config.php');
$database->query( "UPDATE ".TABLE_PREFIX."settings SET `value` = 'wb_theme' where `name` = 'default_theme'");
if($database->is_error()) {
	echo "Error: ".$database->get_error();
} else {
	echo "Succesfully reset default Admin-Theme to 'wb_theme'";
}


